<template>
  <div class="h-con hconcept" style="margin-top: 10px">
    <div class="h-hd chd">
        <!-- <span class="mh-login" id=""><a href="http://summary.jrj.com.cn/dpyt/" style="color: #003399">更多</a></span> -->
        <!-- <span class="mh-title" id=""><a href="http://summary.jrj.com.cn/dpyt/">大盘云图</a></span> -->
      <strong>热门概念</strong>
      <el-button style="float: right; padding: 9px 3px" type="text">更多</el-button>
    </div>
    <div class="cbd">
      <el-table :data="hotConcept" stripe style="width: 100%" class="hTable td-fontsize td-fontcolor-red">
        <!-- <el-table-column prop="name" label="概念名称"></el-table-column> -->
        <el-table-column label="概念名称">
          <template slot-scope="scope">
            <a :href="scope.row.cAddress" target="__blank" class="hstock hcptName">
            {{scope.row.name}}
            </a>
          </template>
        </el-table-column>
        <el-table-column prop="percent" label="涨跌幅"></el-table-column>
        <el-table-column label="领涨股票" width="160px">
          <template slot-scope="scope">
            <a :href="scope.row.sAddress" target="__blank" class="hstock hcptUpStock">
            {{scope.row.upstock}}
            </a>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      hotConcept:[
        {
          name:'无人船',
          percent:'1.42%',
          upstock:'华测导航 2.63%',
          // 此处点击地址应该是接口地址传参
          cAddress:'https://www.baidu.com',
          sAddress:'https://www.baidu.com'
        },
        {
          name:'新股',
          percent:'0.87%',
          upstock:'派瑞股份 10.03%',
          cAddress:'https://www.baidu.com',
          sAddress:'https://www.baidu.com'
        },
        {
          name:'农垦改革',
          percent:'0.79%',
          upstock:'新赛股份 10.06%',
          cAddress:'https://www.baidu.com',
          sAddress:'https://www.baidu.com'
        },
        {
          name:'卫星通信',
          percent:'0.70%',
          upstock:'中海达 9.35%',
          cAddress:'https://www.baidu.com',
          sAddress:'https://www.baidu.com'
        }
      ]
    }
  }
}
</script>

<style>
</style>
